package com.becca.cake.model.voucher;

import java.io.Serializable;
import java.util.Date;


/**
 * 抵用券订单明细实体
 * @copyright  尊星(上海)信息科技有限公司
 * @author Mouwanming
 * @date 2016年9月6日 上午11:15:17
 */
public class VoucherOrderDetailsModel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7260522964903822084L;
	
	private Integer           id;
    /**抵用券订单编号*/
    private Integer           voucherOrderId;
    /**抵用券ID*/
    private Integer           voucherId;
    /**抵用券名称*/
    private String            voucherName;
    /**抵用券单价*/
    private Double            voucherPrice;
    /**抵用券数量*/
    private Integer           voucherNumber;
    /**小计*/
    private Double            subTotal;
    /**创建时间*/
    private Date              createdDate;
    /**创建人*/
    private String            createdName;
    /**修改时间*/
    private Date              updatedDate;
    /**修改人*/
    private String            updatedName;


    /**订单编号*/
    private String            orderCode;
    /**收货人*/
    private String            consignee;
    /**收货人电话*/
    private String            consignPhone;
    /**收货人地址*/
    private String            consignAddress;
   /**支付方式(0:微信 1：支付宝)*/
    private Byte                    payWays;
    
    
    
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getVoucherOrderId() {
		return voucherOrderId;
	}
	public void setVoucherOrderId(Integer voucherOrderId) {
		this.voucherOrderId = voucherOrderId;
	}
	public Integer getVoucherId() {
		return voucherId;
	}
	public void setVoucherId(Integer voucherId) {
		this.voucherId = voucherId;
	}
	public String getVoucherName() {
		return voucherName;
	}
	public void setVoucherName(String voucherName) {
		this.voucherName = voucherName;
	}
	public Double getVoucherPrice() {
		return voucherPrice;
	}
	public void setVoucherPrice(Double voucherPrice) {
		this.voucherPrice = voucherPrice;
	}
	public Integer getVoucherNumber() {
		return voucherNumber;
	}
	public void setVoucherNumber(Integer voucherNumber) {
		this.voucherNumber = voucherNumber;
	}
	public Double getSubTotal() {
		return subTotal;
	}
	public void setSubTotal(Double subTotal) {
		this.subTotal = subTotal;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	public String getCreatedName() {
		return createdName;
	}
	public void setCreatedName(String createdName) {
		this.createdName = createdName;
	}
	public Date getUpdatedDate() {
		return updatedDate;
	}
	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}
	public String getUpdatedName() {
		return updatedName;
	}
	public void setUpdatedName(String updatedName) {
		this.updatedName = updatedName;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getConsignPhone() {
		return consignPhone;
	}
	public void setConsignPhone(String consignPhone) {
		this.consignPhone = consignPhone;
	}
	public String getConsignAddress() {
		return consignAddress;
	}
	public void setConsignAddress(String consignAddress) {
		this.consignAddress = consignAddress;
	}
	public Byte getPayWays() {
		return payWays;
	}
	public void setPayWays(Byte payWays) {
		this.payWays = payWays;
	}
    
    @Override
    public String toString() {
        return "OrderDetailsDO [id=" + id + ", voucherId=" + voucherId + ", voucherOrderId=" + voucherOrderId
               + ", voucherName=" + voucherName + ", voucherPrice=" + voucherPrice 
               + ", voucherNumber=" + voucherNumber + ", subTotal=" + subTotal + ", createdDate="
               + createdDate + ", createdName=" + createdName + ", updatedDate=" + updatedDate
               + ", updatedName=" + updatedName + "]";
    }
    
    
    
    
    
    
    
    
    

    

}
